package filter;

import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFactory;
import org.apache.mina.filter.codec.ProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolEncoder;



public class ClientTextFactory implements ProtocolCodecFactory
{

	public ProtocolDecoder getDecoder(IoSession arg0) throws Exception
	{
		return new ClientTextDecoder();
	}

	public ProtocolEncoder getEncoder(IoSession arg0) throws Exception
	{
		return new ClientTextEncoder();
	}

}
